Rtcl\Controllers\Hooks\Comments B

Total Complexity 82
Dependencies 1
Dependents 3
Total lines 491
Lines of code 283
Logical lines of code 144
Comment lines 150
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
check_comment_is_allowed()
A
44 13 42
wp_count_comments()
A
45 9 45
add_order_note()
A
43 8 44
add_comment_rating()
S
58 8 13
check_comment_rating()
S
62 8 9
check_comment_title()
S
62 7 9
delete_order_note()
S
62 5 10
add_comment_title()
S
70 4 5
get_average_rating_for_listing()
S
53 2 24
get_rating_counts_for_listing()
S
54 2 23
comment_moderation_recipients()
S
67 3 7
comments_open()
S
64 3 9
get_review_count_for_listing()
S
59 1 16
exclude_order_comments_from_feed_where()
S
78 2 3
exclude_order_comments()
S
74 2 4
clear_transients()
S
67 2 8
delete_comments_count_cache()
S
80 1 3
add_avatar_for_review_comment_type()
S
78 1 3
init()
S
69 1 6